<?php

/*
 * Copyright (c) Madbit 2012. All Rights Reserved.
 * Reproduction in whole or in part is prohibited without the
 * written consent of the copyright owner.
 */

function isAuthorized() {
    session_start();
    if (!isset($_SESSION['username'])) {
        header('location:login.php');
        exit;
    }
}

?>
